package com.limit.annotation;

import com.limit.aspect.TokensAspect;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 入口，加此注解，可以让spring扫描
 * @author hbz
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Import({TokensAspect.class})
public @interface EnableLimitTokens {
}
